Stay organized with collections
Save and categorize content based on your preferences.
PSource
open class PSource
Known Direct Subclasses
PSource.PSpecified |
This class is used to explicitly specify the value for encoding input P in OAEP Padding.
|
|
This class specifies the source for encoding input P in OAEP Padding, as defined in the PKCS #1 standard.
PKCS1PSourceAlgorithms ALGORITHM-IDENTIFIER ::= {
{ OID id-pSpecified PARAMETERS OCTET STRING },
... -- Allows for future expansion --
}
Summary
Nested classes |
|
This class is used to explicitly specify the value for encoding input P in OAEP Padding.
|
Protected constructors |
Constructs a source of the encoding input P for OAEP padding as defined in the PKCS #1 standard using the specified PSource algorithm.
|
Public methods |
open String! |
Returns the PSource algorithm name.
|
Protected constructors
PSource
protected PSource(pSrcName: String!)
Constructs a source of the encoding input P for OAEP padding as defined in the PKCS #1 standard using the specified PSource algorithm.
Parameters |
pSrcName |
String!: the algorithm for the source of the encoding input P. |
Exceptions |
java.lang.NullPointerException |
if pSrcName is null. |
Public methods
getAlgorithm
open fun getAlgorithm(): String!
Returns the PSource algorithm name.
Return |
String! |
the PSource algorithm name. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# PSource\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nPSource\n=======\n\n```\nopen class PSource\n```\n\n|---|--------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [javax.crypto.spec.PSource](#) |\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [PSource.PSpecified](/reference/kotlin/javax/crypto/spec/PSource.PSpecified) |------------------------------------------------------------------------------|------------------------------------------------------------------------------------------| | [PSource.PSpecified](/reference/kotlin/javax/crypto/spec/PSource.PSpecified) | This class is used to explicitly specify the value for encoding input P in OAEP Padding. | |\n\nThis class specifies the source for encoding input P in OAEP Padding, as defined in the [PKCS #1](http://www.ietf.org/rfc/rfc3447.txt) standard. \n\n```kotlin\nPKCS1PSourceAlgorithms ALGORITHM-IDENTIFIER ::= {\n { OID id-pSpecified PARAMETERS OCTET STRING },\n ... -- Allows for future expansion --\n }\n \n```\n\n\u003cbr /\u003e\n\nSummary\n-------\n\n| Nested classes ||\n|---|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | [PSpecified](/reference/kotlin/javax/crypto/spec/PSource.PSpecified) This class is used to explicitly specify the value for encoding input P in OAEP Padding. |\n\n| Protected constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [PSource](#PSource(kotlin.String))`(`pSrcName:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs a source of the encoding input P for OAEP padding as defined in the PKCS #1 standard using the specified PSource algorithm. |\n\n| Public methods ||\n|----------------------------------------------------------------------------------------|-------------------------------------------------------------------------|\n| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | [getAlgorithm](#getAlgorithm())`()` Returns the PSource algorithm name. |\n\nProtected constructors\n----------------------\n\n### PSource\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nprotected PSource(pSrcName: String!)\n```\n\nConstructs a source of the encoding input P for OAEP padding as defined in the PKCS #1 standard using the specified PSource algorithm.\n\n| Parameters ||\n|------------|------------------------------------------------------------------------------------------------------------------------------------------|\n| `pSrcName` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the algorithm for the source of the encoding input P. |\n\n| Exceptions ||\n|----------------------------------|------------------------|\n| `java.lang.NullPointerException` | if `pSrcName` is null. |\n\nPublic methods\n--------------\n\n### getAlgorithm\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getAlgorithm(): String!\n```\n\nReturns the PSource algorithm name.\n\n| Return ||\n|-----------------------------------------------------------------------------------|-----------------------------|\n| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | the PSource algorithm name. |"]]