Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudfoundry/credhub
/ functions
Functions
2,803 in github.com/cloudfoundry/credhub
⨍
Functions
2,803
◇
Types & classes
601
Method
`getPrivateKey returns RSA format PrivateKey from PKCS8 string`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/PrivateKeyReaderTest.kt:20
Method
`getPrivateKey throws MalformedPrivateKeyException if key is cannot be parsed`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/PrivateKeyReaderTest.kt:57
Method
`getPrivateKey throws MalformedPrivateKeyException if key is not valid`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/PrivateKeyReaderTest.kt:47
Method
`getPrivateKey throws MalformedPrivateKeyException if not PKCS1 or unencrypted PKCS8 format`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/PrivateKeyReaderTest.kt:37
Method
`getPrivateKey throws MalformedPrivateKeyException if not RSA format`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/PrivateKeyReaderTest.kt:27
Method
`getPublicKey returns RSA format PublicKey from valid(RSA formatted) Private Key`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/PrivateKeyReaderTest.kt:67
Method
`isValid should return false when PKCS1 key does not match cert`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/validators/CertificateMatchesPrivateKeyValidatorTest.kt:31
Method
`isValid should return false when PKCS8 key does not match cert`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/validators/CertificateMatchesPrivateKeyValidatorTest.kt:69
Method
`isValid should return true when PKCS1 key matches cert`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/validators/CertificateMatchesPrivateKeyValidatorTest.kt:50
Method
`isValid should return true when PKCS8 key matches cert`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/validators/CertificateMatchesPrivateKeyValidatorTest.kt:88
Method
`isValid should return true when certificate or ca is null or empty`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/validators/CertificateMatchesPrivateKeyValidatorTest.kt:128
Method
`isValid should return true when private key is null or empty`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/validators/CertificateMatchesPrivateKeyValidatorTest.kt:148
Method
`isValid should throw a MalformedPrivateKeyException when PrivateKey is malformed`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/validators/CertificateMatchesPrivateKeyValidatorTest.kt:107
Method
`malformed private key should result in 400`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/endToEnd/v1/credentials/CredentialSetEndToEndTest.kt:195
Method
`mapKeyUsage handles all key usages at once`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:93
Method
`mapKeyUsage maps crl_sign correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:56
Method
`mapKeyUsage maps data_encipherment correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:38
Method
`mapKeyUsage maps decipher_only correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:68
Method
`mapKeyUsage maps digital_signature correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:20
Method
`mapKeyUsage maps encipher_only correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:62
Method
`mapKeyUsage maps key_agreement correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:44
Method
`mapKeyUsage maps key_cert_sign correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:50
Method
`mapKeyUsage maps key_encipherment correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:32
Method
`mapKeyUsage maps multiple key usages correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:74
Method
`mapKeyUsage maps non_repudiation correctly`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:26
Method
`mapKeyUsage throws exception for invalid key usage`
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/utils/KeyUsageMapperTest.kt:85
Method
`patchPermissions returns PermissionsV2View`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/handlers/DefaultPermissionsV2HandlerTest.kt:176
Method
`postCertificatesUuidRegenerateReturnsCertificate generate a certificate with 4096 key length`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/controllers/v1/certificates/CertificatesControllerTest.kt:262
Method
`postCertificatesUuidRegenerateReturnsCertificate using invalid key size`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/controllers/v1/certificates/CertificatesControllerTest.kt:219
Method
`putPermissions returns PermissionsV2View`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/handlers/DefaultPermissionsV2HandlerTest.kt:141
Method
`regeneratingACertificate whenConcatenateCasIsFalse returnsTheGeneratedCertificate withoutConcatenatedCas`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/integration/v1/certificates/CertificatesPostIntegrationTest.kt:72
Method
`regeneratingACertificate_whenAllowTransitionalParentToSignIsTrue_returnsTheGeneratedCertificate_signedByTheTransitionalParent`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/integration/v1/certificates/CertificatesPostIntegrationTest.kt:114
Method
`regeneratingACertificate_whenAllowTransitionalParentToSignIsTrue_returnsTheGeneratedCertificate_signedByTheTransitionalParent`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/integration/v1/regneration/RegenerateEndpointConcatenateCasIntegrationTest.kt:116
Method
`rsa credential can be set without private key`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/endToEnd/v1/credentials/CredentialSetEndToEndTest.kt:64
Method
`user credential returns null username when set with blank string as username`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/endToEnd/v1/credentials/CredentialSetEndToEndTest.kt:94
Method
`writePermissions returns PermissionsV2View when successful`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/handlers/DefaultPermissionsV2HandlerTest.kt:45
Method
`writePermissions returns void`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/handlers/DefaultPermissionsV1HandlerTest.kt:64
Method
`writePermissions throws exception for too many permissions`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/handlers/DefaultPermissionsV2HandlerTest.kt:77
Method
`writeV2Permissions returns PermissionsV2View`
backends/credhub/src/test/kotlin/org/cloudfoundry/credhub/handlers/DefaultPermissionsV2HandlerTest.kt:206
Method
actuatorPortFilter_returns200_forRequestsToHealthEndpoint
()
applications/credhub-api/src/test/java/org/cloudfoundry/credhub/config/ActuatorConfigurationTest.java:56
Method
actuatorPortFilter_returns404_forRequestsToNonHealthEndpoint
()
applications/credhub-api/src/test/java/org/cloudfoundry/credhub/config/ActuatorConfigurationTest.java:46
Method
addCanary
( final EncryptionKeyCanaryDataService encryptionKeyCanaryDataService)
components/encryption/src/test/java/org/cloudfoundry/credhub/helpers/EncryptionCanaryHelper.java:15
Method
addInterceptors
backends/shared-backend-configuration/src/main/kotlin/org/cloudfoundry/credhub/config/WebMvcConfiguration.kt:19
Method
afterCompletion_populatesTheCEFLogObject
components/audit/src/test/kotlin/org/cloudfoundry/credhub/interceptors/AuditInterceptorTest.kt:66
Method
afterCompletion_returnsIfNoUserIsPresent
components/audit/src/test/kotlin/org/cloudfoundry/credhub/interceptors/AuditInterceptorTest.kt:57
Method
afterEach
()
components/encryption/src/test/java/org/cloudfoundry/credhub/db/migration/EarlyCredentialMigrationTest.java:63
Method
afterEach
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/BulkRegenerateTest.java:116
Method
afterEach
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/db/migration/UserSaltMigrationTest.java:68
Method
allowAssignedIdentifiers
()
components/encryption/src/main/java/org/cloudfoundry/credhub/entities/AssigningRandomUuidGenerator.java:30
Method
apply
(P parameter)
components/errors/src/main/java/org/cloudfoundry/credhub/utils/ExceptionThrowingFunction.java:5
Method
assertAlwaysHasPermission
components/permissions/src/test/kotlin/org/cloudfoundry/credhub/services/DefaultPermissionCheckingServiceTest.kt:168
Method
assertConditionallyHasPermission
components/permissions/src/test/kotlin/org/cloudfoundry/credhub/services/DefaultPermissionCheckingServiceTest.kt:154
Method
authenticate
components/auth/src/main/kotlin/org/cloudfoundry/credhub/auth/X509AuthenticationProvider.kt:25
Method
badRequestResponse
components/errors/src/main/kotlin/org/cloudfoundry/credhub/generate/ExceptionHandlers.kt:257
Method
beforeAll
()
components/credentials/src/test/java/org/cloudfoundry/credhub/generators/CertificateGeneratorTest.java:70
Method
beforeAll
()
components/credentials/src/test/java/org/cloudfoundry/credhub/generators/SignedCertificateGeneratorTest.java:106
Method
beforeAll
()
components/encryption/src/test/java/org/cloudfoundry/credhub/config/BouncyCastleProviderConfigurationTest.java:32
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/GenerateModeTest.java:59
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CertificateGenerateWithoutAclEnforcementTest.java:44
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CertificateGetTest.java:73
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CertificateGenerateTest.java:88
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CertificateVersionDeleteTest.java:63
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/EncryptionKeyRotatorTest.java:110
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CertificateRegenerateWithDefaultKeyUsagesTest.java:77
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CredentialGetTest.java:71
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CredentialRegenerateTest.java:91
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CertificateGenerateWitDefaultKeyUsagesTest.java:72
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CredentialFindTest.java:71
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CredentialAclEnforcementTest.java:68
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/CertificateMinimumDurationTest.java:70
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/BulkRegenerateTest.java:84
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/v1/credentials/CredentialsTypeSpecificGenerateIntegrationTest.java:392
Method
beforeAll
()
backends/credhub/src/test/java/org/cloudfoundry/credhub/integration/v1/credentials/CredentialsGenerateIntegrationTest.java:93
Method
beforeEach
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/validators/CertificateMatchesPrivateKeyValidatorTest.kt:24
Method
beforeEach
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/services/RemoteCertificateAuthorityServiceTest.kt:38
Method
beforeEach
components/credentials/src/test/kotlin/org/cloudfoundry/credhub/repositories/CredentialVersionDataRepositoryTest.kt:39
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/utils/CertificateFormatterTest.java:19
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/utils/CertificateReaderTest.java:47
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/requests/UserSetRequestTest.java:25
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/requests/SshGenerationParametersTest.java:15
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/requests/RsaGenerationParametersTest.java:16
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/requests/CertificateSetRequestTest.java:39
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/requests/CertificateGenerationRequestParametersTest.java:23
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/domain/ValueCredentialVersionTest.java:25
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/domain/UserCredentialVersionTest.java:40
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/domain/JsonCredentialVersionTest.java:29
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/domain/PasswordCredentialVersionTest.java:41
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/domain/CredentialRotationTest.java:34
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/views/PasswordViewTest.java:29
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/views/SshViewTest.java:31
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/views/JsonViewTest.java:33
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/views/ValueViewTest.java:29
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/views/RsaViewTest.java:31
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/views/CertificateViewTest.java:35
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/services/DefaultCredentialVersionDataServiceTest.java:117
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/services/DefaultCertificateAuthorityServiceTest.java:46
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/services/DefaultDecryptableDataDetectorTest.java:18
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/services/DefaultCertificateServiceTest.java:82
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/services/DefaultCertificateVersionDataServiceTest.java:47
Method
beforeEach
()
components/credentials/src/test/java/org/cloudfoundry/credhub/entities/CredentialVersionDataTest.java:16
← previous
next →
801–900 of 2,803, ranked by callers